From e1a5597bc844d14d4d46a88b301b9cea39729634 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Tue, 30 Mar 2010 08:31:52 +0100 Subject: [PATCH] x86: Remove redundant clear for cpu_online_map. Remove it, maybe caused by accident diff operation. Signed-off-by: Xiantao Zhang --- xen/arch/x86/smpboot.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/arch/x86/smpboot.c b/xen/arch/x86/smpboot.c index fcac97419a..0fb829028e 100644 --- a/xen/arch/x86/smpboot.c +++ b/xen/arch/x86/smpboot.c @@ -1302,10 +1302,9 @@ int __cpu_disable(void) remove_siblinginfo(cpu); - cpu_clear(cpu, cpu_online_map); - fixup_irqs(); /* It's now safe to remove this processor from the online map */ cpu_clear(cpu, cpu_online_map); + fixup_irqs(); cpu_disable_scheduler(); -- 2.30.2